Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next
Subject: Has anyone successfully executed functions from msi.dll in LotusScript under x64?
Feedback Type: Problem
Product Area: Domino Server
Technical Area: Error Message
Platform: Windows - 64 bit
Release: 8.5
Reproducible: Always

Could someone please verify the results I'm getting and/or let me know if there is a solution to this problem?

I've been trying for some time now to use MSIQueryProductState when triggered to run under x64 Domino and always get an error. The same code works fine if triggered under the 32-bit Notes client running on the same x64 machine, but always fails when run by the x64 Server.

I get the error:

"External function not found"

when using the declaration:

Declare Function MsiQueryProductState Lib "Msi.dll" Alias "MsiQueryProductStateA" (Byval lpBuffer As String) As Long

I get a different error if I try to force the script to use the x64 dll:

"Error in loading DLL"

using the declaration:

Declare Function MsiQueryProductState Lib "c:\windows\sysWOW64\Msi.dll" Alias "MsiQueryProductStateA" (Byval lpBuffer As String) As Long

Here's some sample calling script:

If ( MsiQueryProductState ("{7299052b-02a4-4627-81f2-1818da5d550d}") <> 5) Then
szRegCheck = "" 'not found
Else
szRegCheck = "DETECTED AS INSTALLED"
End If

Any help would be appreciated!!!


Feedback number WEBB7VHKMZ created by ~Mary Kinugenflar on 09/02/2009

Status: Open
Comments:

Has anyone successfully executed fu... (~Mary Kinugenfl... 2.Sep.09)
. . something to try (~Fred Chuvelupl... 14.Sep.09)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS